<div ng-file-upload="">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" ng-click="cancel()">&times;</button>
        <p class="modal-title panel-title-size">本地上传</p>
    </div>
    <div class="modal-body panel-body">
        <form class="form-horizontal form-validation" name="addvmForm"  >
            <div class="form-group">
                <div class="col-lg-12" >
                    <label class="control-label">上传文件：</label>
                    <div class="control-input">
                        <input type="text" name="gridinPullName" readonly class="form-control"  ng-model="gridinPullName" validator="required,name" maxlength="64" >
                        <div class="file-btn btn btn-info" style="top:0px;overflow: hidden;position: absolute;right:20px">
                            <i class="fa fa-upload"></i> 添加本地文件
                            <span id="btnFileUpload"><input type="file" ng-hide="updataBtn" style=""></span>
                        </div>
                    </div>
                </div>
                <div class="col-lg-12">
                    <label class="control-label">添加进度：</label>
                    <div class="progress progress-sm m-b-none m-t-xs control-input" style="    margin-top: 11px;">
                        <div class="progress-bar bg-success" role="progressbar" ng-style="{ 'width': item.progress + '%' }" animate="true"></div>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <div class="modal-footer">
        <button type="submit" class="btn btn-info" ng-disabled="updataBtn" validation-submit="addvmForm" ng-click="upload(item)">确认上传</button>
        <button class="btn btn-cancel" ng-click="cancelFile()">取消上传</button>
    </div>
</div>
